module.exports = {
  css: {
    loaderOptions: {
      sass: {
        implementation: require('sass'),
        sassOptions: {
          indentedSyntax: false
        }
      }
    }
  },
  devServer: {
    port: 8080,
    host: '127.0.0.1',
    disableHostCheck: true,
    open: true,
    proxy: {
      '^/uniapp': {
        target: 'http://127.0.0.1:8000',
        changeOrigin: true,
        pathRewrite: {
          '^/uniapp': '/uniapp'
        }
      }
    },
    headers: {
      'Access-Control-Allow-Origin': '*'
    }
  }
} 